import { CommonModule } from '@angular/common';
import { NgModule } from '@angular/core';
import { FormsModule, ReactiveFormsModule } from '@angular/forms';

import { NG_ZORRO_ANTD_MODULES } from '../ng-zorro-antd.module';
import { ComponentModule } from './component/component.module';
import { DirectiveModule } from './directive/directive.module';
import { PipeModule } from './pipe/pipe.module';

const MODULES = [ComponentModule, DirectiveModule, PipeModule, ...NG_ZORRO_ANTD_MODULES];

@NgModule({
  declarations: [],
  exports: [...MODULES],
  imports: [FormsModule, ReactiveFormsModule, CommonModule, ...MODULES]
})
export class BaseModule {}
